<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>get_generic_shape_model_result [HALCON算子参考手册]</title>
<style type="text/css">
      body {
    color: #000000;
    background-color: #ffffff;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.body_main {
    margin-left: 35px;
    margin-right: 35px;
}

@media screen and (min-width:992px) {

    .body_main {
        margin-left: 10%;
        margin-right: 10%;
    }

    table.toctable {
        width: 80%
    }
}

@media screen and (min-width:1400px) {

    .body_main {
        margin-left: 15%;
        margin-right: 15%;
    }

    table.toctable {
        width: 70%
    }
}

body>div ul ul {
    margin-left: inherit;
}

a:link {
    color: #0044cc;
}

a:link,
a:visited {
    text-decoration: none;
}

a:link:hover,
a:visited:hover {
    text-decoration: underline;
}

th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-rendering: optimizeLegibility;
    color: #666666;
}

code {
    font-family: monospace,monospace;
}

h1 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

h2 a.halconoperator {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
}

hr {
    border: 0;
    border-top: solid 1px #f28d26;
}

.pre {
    display: block;
    padding-bottom: 1ex;
    font-family: monospace;
    white-space: pre;
}

pre {
    font-family: monospace, monospace;
    padding: 1ex;
    white-space: pre-wrap;
}

.toc {
    font-size: 80%;
    border-top: 1px dashed #f28d26;
    border-bottom: 1px dashed #f28d26;
    padding-top: 5px;
    padding-bottom: 5px;
}

.inv {
    margin: 0;
    border: 0;
    padding: 0;
}

.banner {
    color: #666666;
    padding-left: 1em;
}

.logo {
    background-color: white;
}

.keyboard {
    font-size: 80%;
    padding-left: 3px;
    padding-right: 3px;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: #f28d26;
    background-color: #f3f3f3;
}

.warning {
    margin-top: 2ex;
    margin-bottom: 1ex;
    padding: 10px;
    text-align: center;
    border: 1px solid;
    color: #bb0000;
    background-color: #fff7f7
}

.imprint {
    margin-top: 1ex;
    font-size: 80%;
    color: #666666;
}

.imprinthead {
    font-weight: bolder;
    color: #666666;
}

.indexlink {
    text-align: right;
    padding-bottom: 5px;
}

.postscript {
    margin-top: 2ex;
    font-size: 80%;
    color: #666666
}

.evenrow {
    background-color: #e7e7ef;
    vertical-align: top;
}

.oddrow {
    background-color: #f7f7ff;
    vertical-align: top;
}

.headrow {
    background-color: #97979f;
    color: #ffffff;
    vertical-align: top;
}

.logorow {
    vertical-align: top;
}

.error {
    color: red;
}

.var {
    font-style: italic
}

.halconoperator {
    font-family: monospace, monospace;
}

span.operator {
    font-family: monospace, monospace;
}

span.procedure {
    font-family: monospace, monospace;
}

span.operation {
    font-family: monospace, monospace;
}

span.feature {
    font-family: Arial, Helvetica, Homerton, sans-serif;
}

ul {
    padding-left: 1.2em;
}

li.dot {
    list-style-type: square;
    color: #f28d26;
}

.breadcrumb {
    font-size: 80%;
    color: white;
    background-color: #062d64;
    margin-bottom: 20px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 15px;
}

.webbar {
    font-size: 80%;
    background-color: #dddddd;
    margin-top: 0px;
    margin-left: -35px;
    margin-right: -35px;
    margin-bottom: 0px;
    padding-top: 5px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 5px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px dashed #f28d26;
    font-size: 80%;
    color: #666666;
    padding-bottom: 8px;
}

.footer .socialmedia a {
    padding-left: 7px;
}

.socialmedia {
    padding-top: 10px;
}

.copyright {
    margin-top: 19px;
}

.breadcrumb a {
    color: #ffffff;
    border-bottom: 1px solid white;
}

.breadcrumb a:link:hover,
.breadcrumb a:visited:hover {
    text-decoration: none;
    border-bottom: none;
}

.heading {
    margin-top: 1ex;
    font-size: 110%;
    font-weight: bold;
    color: #666666;
}

.text {
    color: black;
}

.example {
    font-size: 80%;
    background-color: #f3f3f3;
    border: 1px dashed #666666;
    padding: 10px;
}

.displaymath {
    display: block;
    text-align: center;
    margin-top: 1ex;
    margin-bottom: 1ex;
}

.title {
    float: left;
    padding-top: 3px;
    padding-bottom: 3px;
}

.signnote {
    font-family: Arial, Helvetica, Homerton, sans-serif;
    font-size: 80%;
    color: #666666;
    font-weight: lighter;
    font-style: italic
}

.par {
    margin-bottom: 1.5em;
}

.parhead {
    text-align: right;
}

.parname {
    float: left;
}

.pardesc {
    font-size: 85%;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: 2em;
}

.parcat {
    color: #666;
    font-weight: bold;
}

*[data-if=cpp],
*[data-if=c],
*[data-if=dotnet],
*[data-if=com],
*[data-if=python] {
    display: none;
}

.tabbar {
    text-align: right;
    border-bottom: 1px solid #f28d26;
    margin-bottom: 0.5em;
}

ul.tabs {
    padding-top: 3px;
    padding-bottom: 3px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 80%
}

ul.tabs li {
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline;
    overflow: hidden;
    list-style-type: none;
    margin: 0;
    margin-left: 8px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
}

ul.tabs li.active {
    border-left: 1px solid #f28d26;
    border-right: 1px solid #f28d26;
    border-top: 1px solid #f28d26;
    border-bottom: 1px solid #fff;
}

ul.tabs li.inactive {
    background-color: #eee;
}

ul.tabs li a {
    padding-left: 5px;
    padding-right: 5px;
    color: #666;
}

ul.tabs li a:link:hover {
    text-decoration: none;
}

ul.tabs li.inactive a {
    color: #666;
}

ul.tabs li.active a {
    color: black;
}

dl.generic dd {
    margin-bottom: 1em;
}

.pari {
    color: olive;
}

.paro {
    color: maroon;
}

.comment {
    font-size: 80%;
    color: green;
    white-space: nowrap;
}

table.grid {
    border-collapse: collapse;
}

table.grid td {
    padding: 5px;
    border: 1px solid;
}

table.layout {
    border: 0px;
}

table.layout td {
    padding: 5px;
}

table.table {
    border-collapse: collapse;
}

table.table td {
    padding: 5px;
    border-left: 0px;
    border-right: 0px;
}

table.table tr:last-child {
    border-bottom: 1px solid;
}

table.table th {
    padding: 5px;
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-left: 0px;
    border-right: 0px;
}

.details_summary {
    cursor: pointer;
}

table.toctable {
    width: 100%;
}

table.toctable col:first-child {
    width: 20%;
}

table.toctable col:nth-last-child(2) {
    width: 8%;
}

table.altcolored tr:nth-child(even) {
    background-color: #f3f3f3;
}

    </style>
<!--OP_REF_STYLE_END-->
<script>
    <!--
var active_lang='hdevelop';function switchVisibility(obj,active_lang,new_lang)
{var display_style='inline';
for(var i=0;i<obj.length;i++)
{if(obj.item(i).getAttribute('data-if')==new_lang)
{obj.item(i).style.display=display_style;}
if(obj.item(i).getAttribute('data-if')==active_lang)
{obj.item(i).style.display='none';}}
return;}
function toggleLanguage(new_lang,initial)
{if(active_lang!=new_lang)
{var lis=document.getElementsByTagName('li');for(var i=0;i<lis.length;i++)
{if(lis.item(i).id=='syn-'+new_lang)
{lis.item(i).className='active';}
else
{lis.item(i).className='inactive';}}
var divs=document.getElementsByTagName('div');var spans=document.getElementsByTagName('span');switchVisibility(divs,active_lang,new_lang);switchVisibility(spans,active_lang,new_lang);if(!initial)
{setCookie("halcon_reference_language",new_lang,null,null);}
active_lang=new_lang;}
return;}
function setCookie(name,value,domain,exp_offset,path,secure)
{localStorage.setItem(name,value);}
function getCookie(name)
{return localStorage.getItem(name);}
function initialize()
{var qs=location.href.split('?')[1];var qs_lang_raw=location.href.split('interface=')[1];var qs_lang;if(qs_lang_raw)
{qs_lang=qs_lang_raw.split('#')[0];}
var cookie_lang=getCookie("halcon_reference_language");var new_lang;if((qs_lang=="hdevelop")||(qs_lang=="dotnet")||(qs_lang=="python")||(qs_lang=="cpp")||(qs_lang=="c"))
{new_lang=qs_lang;setCookie("halcon_reference_language",new_lang,null,null);}
else if((cookie_lang=="hdevelop")||(cookie_lang=="dotnet")||(cookie_lang=="python")||(cookie_lang=="cpp")||(cookie_lang=="c"))
{new_lang=cookie_lang;}
else
{new_lang="hdevelop";}
toggleLanguage(new_lang,1);return;}
-->

  </script>
</head>
<body onload="initialize();">
<div class="breadcrumb">
<br class="inv"><a href="index.html">目录</a> / <a href="toc_matching.html">Matching</a> / <a href="toc_matching_shapebased.html">Shape-Based</a><br class="inv">
</div>
<div class="body_main">
<div class="tabbar"><ul class="tabs">
<li id="syn-hdevelop" class="active"><a href="javascript:void(0);" onclick="toggleLanguage('hdevelop')" onfocus="blur()">HDevelop</a></li>
<li id="syn-dotnet" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('dotnet')" onfocus="blur()">.NET</a></li>
<li id="syn-python" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('python')" onfocus="blur()">Python</a></li>
<li id="syn-cpp" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('cpp')" onfocus="blur()">C++</a></li>
<li id="syn-c" class="inactive"><a href="javascript:void(0);" onclick="toggleLanguage('c')" onfocus="blur()">C</a></li>
</ul></div>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<!--OP_REF_HEADER_END-->
<h1 id="sec_name">
<span data-if="hdevelop" style="display:inline;">get_generic_shape_model_result</span><span data-if="c" style="display:none;">T_get_generic_shape_model_result</span><span data-if="cpp" style="display:none;">GetGenericShapeModelResult</span><span data-if="dotnet" style="display:none;">GetGenericShapeModelResult</span><span data-if="python" style="display:none;">get_generic_shape_model_result</span> (算子名称)</h1>
<h2>名称</h2>
<p><code><span data-if="hdevelop" style="display:inline;">get_generic_shape_model_result</span><span data-if="c" style="display:none;">T_get_generic_shape_model_result</span><span data-if="cpp" style="display:none;">GetGenericShapeModelResult</span><span data-if="dotnet" style="display:none;">GetGenericShapeModelResult</span><span data-if="python" style="display:none;">get_generic_shape_model_result</span></code> — Get alphanumerical values from a shape matching result.</p>
<h2 id="sec_synopsis">参数签名</h2>
<div data-if="hdevelop" style="display:inline;">
<p>
<code><b>get_generic_shape_model_result</b>( :  : <a href="#MatchResultID"><i>MatchResultID</i></a>, <a href="#MatchSelector"><i>MatchSelector</i></a>, <a href="#GenParamName"><i>GenParamName</i></a> : <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
</div>
<div data-if="c" style="display:none;">
<p>
<code>Herror <b>T_get_generic_shape_model_result</b>(const Htuple <a href="#MatchResultID"><i>MatchResultID</i></a>, const Htuple <a href="#MatchSelector"><i>MatchSelector</i></a>, const Htuple <a href="#GenParamName"><i>GenParamName</i></a>, Htuple* <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
</div>
<div data-if="cpp" style="display:none;">
<p>
<code>void <b>GetGenericShapeModelResult</b>(const HTuple&amp; <a href="#MatchResultID"><i>MatchResultID</i></a>, const HTuple&amp; <a href="#MatchSelector"><i>MatchSelector</i></a>, const HTuple&amp; <a href="#GenParamName"><i>GenParamName</i></a>, HTuple* <a href="#GenParamValue"><i>GenParamValue</i></a>)</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HGenericShapeModelResult.html">HGenericShapeModelResult</a>::<b>GetGenericShapeModelResult</b>(const HTuple&amp; <a href="#MatchSelector"><i>MatchSelector</i></a>, const HString&amp; <a href="#GenParamName"><i>GenParamName</i></a>) const</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HGenericShapeModelResult.html">HGenericShapeModelResult</a>::<b>GetGenericShapeModelResult</b>(const HTuple&amp; <a href="#MatchSelector"><i>MatchSelector</i></a>, const char* <a href="#GenParamName"><i>GenParamName</i></a>) const</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HGenericShapeModelResult.html">HGenericShapeModelResult</a>::<b>GetGenericShapeModelResult</b>(const HTuple&amp; <a href="#MatchSelector"><i>MatchSelector</i></a>, const wchar_t* <a href="#GenParamName"><i>GenParamName</i></a>) const  <span class="signnote">
            (
            Windows only)
          </span></code></p>
</div>
<div data-if="com" style="display:none;"></div>
<div data-if="dotnet" style="display:none;">
<p>
<code>static void <a href="HOperatorSet.html">HOperatorSet</a>.<b>GetGenericShapeModelResult</b>(<a href="HTuple.html">HTuple</a> <a href="#MatchResultID"><i>matchResultID</i></a>, <a href="HTuple.html">HTuple</a> <a href="#MatchSelector"><i>matchSelector</i></a>, <a href="HTuple.html">HTuple</a> <a href="#GenParamName"><i>genParamName</i></a>, out <a href="HTuple.html">HTuple</a> <a href="#GenParamValue"><i>genParamValue</i></a>)</code></p>
<p>
<code><a href="HTuple.html">HTuple</a> <a href="HGenericShapeModelResult.html">HGenericShapeModelResult</a>.<b>GetGenericShapeModelResult</b>(<a href="HTuple.html">HTuple</a> <a href="#MatchSelector"><i>matchSelector</i></a>, string <a href="#GenParamName"><i>genParamName</i></a>)</code></p>
</div>
<div data-if="python" style="display:none;">
<p>
<code>def <b>get_generic_shape_model_result</b>(<a href="#MatchResultID"><i>match_result_id</i></a>: HHandle, <a href="#MatchSelector"><i>match_selector</i></a>: Sequence[Union[str, int]], <a href="#GenParamName"><i>gen_param_name</i></a>: str) -&gt; Sequence[Union[int, float, str]]</code></p>
</div>
<h2 id="sec_description">描述</h2>
<p><code><span data-if="hdevelop" style="display:inline">get_generic_shape_model_result</span><span data-if="c" style="display:none">get_generic_shape_model_result</span><span data-if="cpp" style="display:none">GetGenericShapeModelResult</span><span data-if="com" style="display:none">GetGenericShapeModelResult</span><span data-if="dotnet" style="display:none">GetGenericShapeModelResult</span><span data-if="python" style="display:none">get_generic_shape_model_result</span></code> returns alphanumerical results of
shape-based matching in <a href="#GenParamValue"><i><code><span data-if="hdevelop" style="display:inline">GenParamValue</span><span data-if="c" style="display:none">GenParamValue</span><span data-if="cpp" style="display:none">GenParamValue</span><span data-if="com" style="display:none">GenParamValue</span><span data-if="dotnet" style="display:none">genParamValue</span><span data-if="python" style="display:none">gen_param_value</span></code></i></a>. The matches are contained in
<a href="#MatchResultID"><i><code><span data-if="hdevelop" style="display:inline">MatchResultID</span><span data-if="c" style="display:none">MatchResultID</span><span data-if="cpp" style="display:none">MatchResultID</span><span data-if="com" style="display:none">MatchResultID</span><span data-if="dotnet" style="display:none">matchResultID</span><span data-if="python" style="display:none">match_result_id</span></code></i></a> and sorted by descending score.
</p>
<p>The parameter <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a> is used
to select from which matches the result values shall be returned.
The sorting remains according to their score.
Hence, it is independent of the order of the selection criteria passed in
<a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a>. Furthermore, a matching result is only returned once
even if it meets more than one selection criterion.</p>
<p>
<a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a> processes selection criteria of the following types or
combinations of them:
</p>
<ul>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'all'</span><span data-if="c" style="display:none">"all"</span><span data-if="cpp" style="display:none">"all"</span><span data-if="com" style="display:none">"all"</span><span data-if="dotnet" style="display:none">"all"</span><span data-if="python" style="display:none">"all"</span></i>:</p>
<p>
All matching results are selected.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'best'</span><span data-if="c" style="display:none">"best"</span><span data-if="cpp" style="display:none">"best"</span><span data-if="com" style="display:none">"best"</span><span data-if="dotnet" style="display:none">"best"</span><span data-if="python" style="display:none">"best"</span></i>:</p>
<p>
The match with the highest score is selected.
</p>
</li>
<li>
<p> Result index:</p>
<p>
By setting <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a> to an integer, the index of the match in
<a href="#MatchResultID"><i><code><span data-if="hdevelop" style="display:inline">MatchResultID</span><span data-if="c" style="display:none">MatchResultID</span><span data-if="cpp" style="display:none">MatchResultID</span><span data-if="com" style="display:none">MatchResultID</span><span data-if="dotnet" style="display:none">matchResultID</span><span data-if="python" style="display:none">match_result_id</span></code></i></a> is determined.</p>
<p>
<i>Value range:</i> 0 to n-1 (with n as the total number of results).</p>
<p>
If the index is outside the valid range, an exception is raised.
</p>
</li>
<li>
<p> Shape model identifier:</p>
<p>
All matches found with a specific shape model are selected. For this
you can pass the respective model identifier <i><span data-if="hdevelop" style="display:inline">'model_identifier'</span><span data-if="c" style="display:none">"model_identifier"</span><span data-if="cpp" style="display:none">"model_identifier"</span><span data-if="com" style="display:none">"model_identifier"</span><span data-if="dotnet" style="display:none">"model_identifier"</span><span data-if="python" style="display:none">"model_identifier"</span></i>
as a string to <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a>.
</p>
</li>
<li>
<p> Shape model handle:</p>
<p>
All matches found with a specific shape model are selected. For this
you can pass the respective shape model handle to
<a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a>.
</p>
</li>
</ul>
<p>
If <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a> is no valid selection criterion, an exception
is raised.
</p>
<p><a href="#GenParamName"><i><code><span data-if="hdevelop" style="display:inline">GenParamName</span><span data-if="c" style="display:none">GenParamName</span><span data-if="cpp" style="display:none">GenParamName</span><span data-if="com" style="display:none">GenParamName</span><span data-if="dotnet" style="display:none">genParamName</span><span data-if="python" style="display:none">gen_param_name</span></code></i></a> specifies which alphanumerical result value will
be returned. The following values are possible:
</p>
<ul>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'num_match_result'</span><span data-if="c" style="display:none">"num_match_result"</span><span data-if="cpp" style="display:none">"num_match_result"</span><span data-if="com" style="display:none">"num_match_result"</span><span data-if="dotnet" style="display:none">"num_match_result"</span><span data-if="python" style="display:none">"num_match_result"</span></i>:</p>
<p>
Number of matches. The accumulated number of matches is returned in case
multiple selections are made in <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a>.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'model_identifier'</span><span data-if="c" style="display:none">"model_identifier"</span><span data-if="cpp" style="display:none">"model_identifier"</span><span data-if="com" style="display:none">"model_identifier"</span><span data-if="dotnet" style="display:none">"model_identifier"</span><span data-if="python" style="display:none">"model_identifier"</span></i>: </p>
<p>
String identifying the model the match was found with.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'score'</span><span data-if="c" style="display:none">"score"</span><span data-if="cpp" style="display:none">"score"</span><span data-if="com" style="display:none">"score"</span><span data-if="dotnet" style="display:none">"score"</span><span data-if="python" style="display:none">"score"</span></i>:</p>
<p>
Score of the found match. It is a number between 0 and 1 and an approximate
measure of how good the model is found in the image. For further
information on scores, see
<code>“Solution Guide II-B - Matching”</code>, Chapter 'General Topics',
section 'About the Score'.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'angle'</span><span data-if="c" style="display:none">"angle"</span><span data-if="cpp" style="display:none">"angle"</span><span data-if="com" style="display:none">"angle"</span><span data-if="dotnet" style="display:none">"angle"</span><span data-if="python" style="display:none">"angle"</span></i>:</p>
<p>
Rotation angle of the found match.</p>
<p>
<i>Value range:</i> <i>-3.14</i> <span title="1" style="vertical-align:-0.207493em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="0.900873em" height="0.894063em" viewBox="0 0 14.413971 14.305008">
<!-- Original BoundingBox: -7.206985 -7.152496 7.206985 7.152512 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_20">
      <path style="fill-rule: evenodd;" d="M675.000000 -594.000000C686.000000 -599.000000,694.000000 -604.000000,694.000000 -616.000000C694.000000 -627.000000,686.000000 -636.000000,674.000000 -636.000000C669.000000 -636.000000,660.000000 -632.000000,656.000000 -630.000000L103.000000 -369.000000C86.000000 -361.000000,83.000000 -354.000000,83.000000 -346.000000C83.000000 -337.000000,89.000000 -330.000000,103.000000 -324.000000L656.000000 -64.000000C669.000000 -57.000000,671.000000 -57.000000,674.000000 -57.000000C685.000000 -57.000000,694.000000 -66.000000,694.000000 -77.000000C694.000000 -86.000000,690.000000 -92.000000,673.000000 -100.000000L150.000000 -346.000000M659.000000 137.000000C676.000000 137.000000,694.000000 137.000000,694.000000 117.000000C694.000000 97.000000,673.000000 97.000000,658.000000 97.000000L119.000000 97.000000C104.000000 97.000000,83.000000 97.000000,83.000000 117.000000C83.000000 137.000000,101.000000 137.000000,118.000000 137.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.809006 10.985123)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_20"></use>
  </g>
</svg></span> <i><span data-if="hdevelop" style="display:inline">'angle'</span><span data-if="c" style="display:none">"angle"</span><span data-if="cpp" style="display:none">"angle"</span><span data-if="com" style="display:none">"angle"</span><span data-if="dotnet" style="display:none">"angle"</span><span data-if="python" style="display:none">"angle"</span></i>
<span title="2" style="vertical-align:-0.207493em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="0.900873em" height="0.894063em" viewBox="0 0 14.413971 14.305008">
<!-- Original BoundingBox: -7.206985 -7.152496 7.206985 7.152512 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmsy10_20">
      <path style="fill-rule: evenodd;" d="M675.000000 -594.000000C686.000000 -599.000000,694.000000 -604.000000,694.000000 -616.000000C694.000000 -627.000000,686.000000 -636.000000,674.000000 -636.000000C669.000000 -636.000000,660.000000 -632.000000,656.000000 -630.000000L103.000000 -369.000000C86.000000 -361.000000,83.000000 -354.000000,83.000000 -346.000000C83.000000 -337.000000,89.000000 -330.000000,103.000000 -324.000000L656.000000 -64.000000C669.000000 -57.000000,671.000000 -57.000000,674.000000 -57.000000C685.000000 -57.000000,694.000000 -66.000000,694.000000 -77.000000C694.000000 -86.000000,690.000000 -92.000000,673.000000 -100.000000L150.000000 -346.000000M659.000000 137.000000C676.000000 137.000000,694.000000 137.000000,694.000000 117.000000C694.000000 97.000000,673.000000 97.000000,658.000000 97.000000L119.000000 97.000000C104.000000 97.000000,83.000000 97.000000,83.000000 117.000000C83.000000 137.000000,101.000000 137.000000,118.000000 137.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.809006 10.985123)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmsy10_20"></use>
  </g>
</svg></span> <i>3.14</i> (=<span title="3" style="vertical-align:-0.0991602em" class="math"><!-- Created by MetaPost 1.902 on 2023.05.15:2033 --><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="0.729643em" height="0.573321em" viewBox="0 0 11.674286 9.173141">
<!-- Original BoundingBox: -5.837143 -4.586578 5.837143 4.586563 -->
  <defs>
    <g transform="scale(0.009963,0.009963)" id="GLYPHcmmi10_25">
      <path style="fill-rule: evenodd;" d="M265.000000 -373.000000L378.000000 -373.000000C345.000000 -225.000000,336.000000 -182.000000,336.000000 -115.000000C336.000000 -100.000000,336.000000 -73.000000,344.000000 -39.000000C354.000000 5.000000,365.000000 11.000000,380.000000 11.000000C400.000000 11.000000,421.000000 -7.000000,421.000000 -27.000000C421.000000 -33.000000,421.000000 -35.000000,415.000000 -49.000000C386.000000 -121.000000,386.000000 -186.000000,386.000000 -214.000000C386.000000 -267.000000,393.000000 -321.000000,404.000000 -373.000000L518.000000 -373.000000C531.000000 -373.000000,567.000000 -373.000000,567.000000 -407.000000C567.000000 -431.000000,546.000000 -431.000000,527.000000 -431.000000L192.000000 -431.000000C170.000000 -431.000000,132.000000 -431.000000,88.000000 -384.000000C53.000000 -345.000000,27.000000 -299.000000,27.000000 -294.000000C27.000000 -293.000000,27.000000 -284.000000,39.000000 -284.000000C47.000000 -284.000000,49.000000 -288.000000,55.000000 -296.000000C104.000000 -373.000000,162.000000 -373.000000,182.000000 -373.000000L239.000000 -373.000000C207.000000 -252.000000,153.000000 -131.000000,111.000000 -40.000000C103.000000 -25.000000,103.000000 -23.000000,103.000000 -16.000000C103.000000 3.000000,119.000000 11.000000,132.000000 11.000000C162.000000 11.000000,170.000000 -17.000000,182.000000 -54.000000C196.000000 -100.000000,196.000000 -102.000000,209.000000 -152.000000"></path>
    </g>
  </defs>
  <g transform="matrix(1.600006,-0.000000,-0.000000,1.600006,0.178848 7.586578)" style="fill: rgb(0.000000%,0.000000%,0.000000%);">
    <use xlink:href="#GLYPHcmmi10_25"></use>
  </g>
</svg></span>).
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'row'</span><span data-if="c" style="display:none">"row"</span><span data-if="cpp" style="display:none">"row"</span><span data-if="com" style="display:none">"row"</span><span data-if="dotnet" style="display:none">"row"</span><span data-if="python" style="display:none">"row"</span></i>:</p>
<p>
Row coordinate of the found match in the search image.
The coordinate relates to the origin of the shape model.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'column'</span><span data-if="c" style="display:none">"column"</span><span data-if="cpp" style="display:none">"column"</span><span data-if="com" style="display:none">"column"</span><span data-if="dotnet" style="display:none">"column"</span><span data-if="python" style="display:none">"column"</span></i>:</p>
<p>
Column coordinate of the found match in the search image.
The coordinate relates to the origin of the shape model.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'scale_row'</span><span data-if="c" style="display:none">"scale_row"</span><span data-if="cpp" style="display:none">"scale_row"</span><span data-if="com" style="display:none">"scale_row"</span><span data-if="dotnet" style="display:none">"scale_row"</span><span data-if="python" style="display:none">"scale_row"</span></i>:</p>
<p>
Scale of the found match in row direction.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'scale_column'</span><span data-if="c" style="display:none">"scale_column"</span><span data-if="cpp" style="display:none">"scale_column"</span><span data-if="com" style="display:none">"scale_column"</span><span data-if="dotnet" style="display:none">"scale_column"</span><span data-if="python" style="display:none">"scale_column"</span></i>:</p>
<p>
Scale of the found match in column direction.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'hom_mat_2d'</span><span data-if="c" style="display:none">"hom_mat_2d"</span><span data-if="cpp" style="display:none">"hom_mat_2d"</span><span data-if="com" style="display:none">"hom_mat_2d"</span><span data-if="dotnet" style="display:none">"hom_mat_2d"</span><span data-if="python" style="display:none">"hom_mat_2d"</span></i>:</p>
<p>
Homographic transformation matrix to transform the contours of the shape
model from its origin to the found location in the search image. Position,
rotation, and scaling in row and column direction are taken into account.
For more information on transformations with homographic matrices see
<a href="affine_trans_point_2d.html"><code><span data-if="hdevelop" style="display:inline">affine_trans_point_2d</span><span data-if="c" style="display:none">affine_trans_point_2d</span><span data-if="cpp" style="display:none">AffineTransPoint2d</span><span data-if="com" style="display:none">AffineTransPoint2d</span><span data-if="dotnet" style="display:none">AffineTransPoint2d</span><span data-if="python" style="display:none">affine_trans_point_2d</span></code></a>.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'clutter_score'</span><span data-if="c" style="display:none">"clutter_score"</span><span data-if="cpp" style="display:none">"clutter_score"</span><span data-if="com" style="display:none">"clutter_score"</span><span data-if="dotnet" style="display:none">"clutter_score"</span><span data-if="python" style="display:none">"clutter_score"</span></i>:</p>
<p>
Clutter score of the found match. It is a number between 0 and 1 and an
approximate measure of how much clutter edges are present in the clutter
region.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'clutter_hom_mat_2d'</span><span data-if="c" style="display:none">"clutter_hom_mat_2d"</span><span data-if="cpp" style="display:none">"clutter_hom_mat_2d"</span><span data-if="com" style="display:none">"clutter_hom_mat_2d"</span><span data-if="dotnet" style="display:none">"clutter_hom_mat_2d"</span><span data-if="python" style="display:none">"clutter_hom_mat_2d"</span></i>:</p>
<p>
Homographic transformation matrix to transform the clutter region of the
shape model from its origin to the found location in the search image.
Position, rotation, and scaling in row and column direction are taken into
account.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'match'</span><span data-if="c" style="display:none">"match"</span><span data-if="cpp" style="display:none">"match"</span><span data-if="com" style="display:none">"match"</span><span data-if="dotnet" style="display:none">"match"</span><span data-if="python" style="display:none">"match"</span></i>:</p>
<p>
Dictionary containing the coordinate <i><span data-if="hdevelop" style="display:inline">'row'</span><span data-if="c" style="display:none">"row"</span><span data-if="cpp" style="display:none">"row"</span><span data-if="com" style="display:none">"row"</span><span data-if="dotnet" style="display:none">"row"</span><span data-if="python" style="display:none">"row"</span></i>, <i><span data-if="hdevelop" style="display:inline">'column'</span><span data-if="c" style="display:none">"column"</span><span data-if="cpp" style="display:none">"column"</span><span data-if="com" style="display:none">"column"</span><span data-if="dotnet" style="display:none">"column"</span><span data-if="python" style="display:none">"column"</span></i>, the
rotation angle <i><span data-if="hdevelop" style="display:inline">'angle'</span><span data-if="c" style="display:none">"angle"</span><span data-if="cpp" style="display:none">"angle"</span><span data-if="com" style="display:none">"angle"</span><span data-if="dotnet" style="display:none">"angle"</span><span data-if="python" style="display:none">"angle"</span></i>, the scale <i><span data-if="hdevelop" style="display:inline">'scale_row'</span><span data-if="c" style="display:none">"scale_row"</span><span data-if="cpp" style="display:none">"scale_row"</span><span data-if="com" style="display:none">"scale_row"</span><span data-if="dotnet" style="display:none">"scale_row"</span><span data-if="python" style="display:none">"scale_row"</span></i>,
<i><span data-if="hdevelop" style="display:inline">'scale_column'</span><span data-if="c" style="display:none">"scale_column"</span><span data-if="cpp" style="display:none">"scale_column"</span><span data-if="com" style="display:none">"scale_column"</span><span data-if="dotnet" style="display:none">"scale_column"</span><span data-if="python" style="display:none">"scale_column"</span></i>, the score <i><span data-if="hdevelop" style="display:inline">'score'</span><span data-if="c" style="display:none">"score"</span><span data-if="cpp" style="display:none">"score"</span><span data-if="com" style="display:none">"score"</span><span data-if="dotnet" style="display:none">"score"</span><span data-if="python" style="display:none">"score"</span></i>, and the homographic
transformation <i><span data-if="hdevelop" style="display:inline">'hom_mat_2d'</span><span data-if="c" style="display:none">"hom_mat_2d"</span><span data-if="cpp" style="display:none">"hom_mat_2d"</span><span data-if="com" style="display:none">"hom_mat_2d"</span><span data-if="dotnet" style="display:none">"hom_mat_2d"</span><span data-if="python" style="display:none">"hom_mat_2d"</span></i> of the found match. Additionally, the
two clutter-specific results <i><span data-if="hdevelop" style="display:inline">'clutter_score'</span><span data-if="c" style="display:none">"clutter_score"</span><span data-if="cpp" style="display:none">"clutter_score"</span><span data-if="com" style="display:none">"clutter_score"</span><span data-if="dotnet" style="display:none">"clutter_score"</span><span data-if="python" style="display:none">"clutter_score"</span></i> and
<i><span data-if="hdevelop" style="display:inline">'clutter_hom_mat_2d'</span><span data-if="c" style="display:none">"clutter_hom_mat_2d"</span><span data-if="cpp" style="display:none">"clutter_hom_mat_2d"</span><span data-if="com" style="display:none">"clutter_hom_mat_2d"</span><span data-if="dotnet" style="display:none">"clutter_hom_mat_2d"</span><span data-if="python" style="display:none">"clutter_hom_mat_2d"</span></i> are contained in the dictionary if clutter
has been trained and used (see <a href="set_generic_shape_model_object.html"><code><span data-if="hdevelop" style="display:inline">set_generic_shape_model_object</span><span data-if="c" style="display:none">set_generic_shape_model_object</span><span data-if="cpp" style="display:none">SetGenericShapeModelObject</span><span data-if="com" style="display:none">SetGenericShapeModelObject</span><span data-if="dotnet" style="display:none">SetGenericShapeModelObject</span><span data-if="python" style="display:none">set_generic_shape_model_object</span></code></a> with
<i><span data-if="hdevelop" style="display:inline">'clutter_region'</span><span data-if="c" style="display:none">"clutter_region"</span><span data-if="cpp" style="display:none">"clutter_region"</span><span data-if="com" style="display:none">"clutter_region"</span><span data-if="dotnet" style="display:none">"clutter_region"</span><span data-if="python" style="display:none">"clutter_region"</span></i>).
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'time_measurement'</span><span data-if="c" style="display:none">"time_measurement"</span><span data-if="cpp" style="display:none">"time_measurement"</span><span data-if="com" style="display:none">"time_measurement"</span><span data-if="dotnet" style="display:none">"time_measurement"</span><span data-if="python" style="display:none">"time_measurement"</span></i>:</p>
<p>
A dictionary containing the different time measurements that where
conducted during the search. Note that their sum is less then the total time
spent on 该算子 call.
The dictionary contains time measurements for the four main
steps of the search pipeline
<i><span data-if="hdevelop" style="display:inline">'pipeline'</span><span data-if="c" style="display:none">"pipeline"</span><span data-if="cpp" style="display:none">"pipeline"</span><span data-if="com" style="display:none">"pipeline"</span><span data-if="dotnet" style="display:none">"pipeline"</span><span data-if="python" style="display:none">"pipeline"</span></i>:
</p>
<ul>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'pyramid'</span><span data-if="c" style="display:none">"pyramid"</span><span data-if="cpp" style="display:none">"pyramid"</span><span data-if="com" style="display:none">"pyramid"</span><span data-if="dotnet" style="display:none">"pyramid"</span><span data-if="python" style="display:none">"pyramid"</span></i>:   Time spent constructing the image pyramid.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'top_level'</span><span data-if="c" style="display:none">"top_level"</span><span data-if="cpp" style="display:none">"top_level"</span><span data-if="com" style="display:none">"top_level"</span><span data-if="dotnet" style="display:none">"top_level"</span><span data-if="python" style="display:none">"top_level"</span></i>: Time spent searching for candidates on
highest pyramid level.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'tracking'</span><span data-if="c" style="display:none">"tracking"</span><span data-if="cpp" style="display:none">"tracking"</span><span data-if="com" style="display:none">"tracking"</span><span data-if="dotnet" style="display:none">"tracking"</span><span data-if="python" style="display:none">"tracking"</span></i>:  Time spent tracking candidates from the
highest pyramid level to the lowest.
</p>
</li>
<li>
<p> <i><span data-if="hdevelop" style="display:inline">'subpixel_refinement'</span><span data-if="c" style="display:none">"subpixel_refinement"</span><span data-if="cpp" style="display:none">"subpixel_refinement"</span><span data-if="com" style="display:none">"subpixel_refinement"</span><span data-if="dotnet" style="display:none">"subpixel_refinement"</span><span data-if="python" style="display:none">"subpixel_refinement"</span></i>:  Time spent conducting the
refinement at the end of the search.
</p>
</li>
</ul>
<p>
<i>Restriction:</i> <a href="#MatchSelector"><i><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></i></a> must be set to <i><span data-if="hdevelop" style="display:inline">'all'</span><span data-if="c" style="display:none">"all"</span><span data-if="cpp" style="display:none">"all"</span><span data-if="com" style="display:none">"all"</span><span data-if="dotnet" style="display:none">"all"</span><span data-if="python" style="display:none">"all"</span></i>.
</p>
</li>
</ul>
<p>
Note that for values regarding the location of the matches
coordinates are given as edge centered coordinates. For more information
on edge centered coordinates see the chapter
<a href="toc_transformations_2dtransformations.html">Transformations / 2D Transformations</a>.
</p>
<h2 id="sec_execution">运行信息</h2>
<ul>
  <li>多线程类型:可重入(与非独占操作符并行运行)。</li>
<li>多线程作用域:全局(可以从任何线程调用)。</li>
  <li>未经并行化处理。</li>
</ul>
<h2 id="sec_parameters">参数表</h2>
  <div class="par">
<div class="parhead">
<span id="MatchResultID" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MatchResultID</span><span data-if="c" style="display:none">MatchResultID</span><span data-if="cpp" style="display:none">MatchResultID</span><span data-if="com" style="display:none">MatchResultID</span><span data-if="dotnet" style="display:none">matchResultID</span><span data-if="python" style="display:none">match_result_id</span></code></b> (input_control)  </span><span>generic_shape_model_result <code>→</code> <span data-if="dotnet" style="display:none"><a href="HGenericShapeModelResult.html">HGenericShapeModelResult</a>, </span><span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">HHandle</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (handle)</span><span data-if="dotnet" style="display:none"> (<i>IntPtr</i>)</span><span data-if="cpp" style="display:none"> (<i>HHandle</i>)</span><span data-if="c" style="display:none"> (<i>handle</i>)</span></span>
</div>
<p class="pardesc">Handle of the shape model matches.</p>
</div>
  <div class="par">
<div class="parhead">
<span id="MatchSelector" class="parname"><b><code><span data-if="hdevelop" style="display:inline">MatchSelector</span><span data-if="c" style="display:none">MatchSelector</span><span data-if="cpp" style="display:none">MatchSelector</span><span data-if="com" style="display:none">MatchSelector</span><span data-if="dotnet" style="display:none">matchSelector</span><span data-if="python" style="display:none">match_selector</span></code></b> (input_control)  </span><span>string-array <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Sequence[Union[str, int]]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string / </span><span data-if="hdevelop" style="display:inline">integer)</span><span data-if="dotnet" style="display:none"> (<i>string</i> / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long)</span><span data-if="cpp" style="display:none"> (<i>HString</i> / </span><span data-if="cpp" style="display:none">Hlong)</span><span data-if="c" style="display:none"> (<i>char*</i> / </span><span data-if="c" style="display:none">Hlong)</span></span>
</div>
<p class="pardesc">Selector for the matching results to be queried.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'all'</span>
    <span data-if="c" style="display:none">"all"</span>
    <span data-if="cpp" style="display:none">"all"</span>
    <span data-if="com" style="display:none">"all"</span>
    <span data-if="dotnet" style="display:none">"all"</span>
    <span data-if="python" style="display:none">"all"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'all'</span><span data-if="c" style="display:none">"all"</span><span data-if="cpp" style="display:none">"all"</span><span data-if="com" style="display:none">"all"</span><span data-if="dotnet" style="display:none">"all"</span><span data-if="python" style="display:none">"all"</span>, <span data-if="hdevelop" style="display:inline">'best'</span><span data-if="c" style="display:none">"best"</span><span data-if="cpp" style="display:none">"best"</span><span data-if="com" style="display:none">"best"</span><span data-if="dotnet" style="display:none">"best"</span><span data-if="python" style="display:none">"best"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="GenParamName" class="parname"><b><code><span data-if="hdevelop" style="display:inline">GenParamName</span><span data-if="c" style="display:none">GenParamName</span><span data-if="cpp" style="display:none">GenParamName</span><span data-if="com" style="display:none">GenParamName</span><span data-if="dotnet" style="display:none">genParamName</span><span data-if="python" style="display:none">gen_param_name</span></code></b> (input_control)  </span><span>attribute.name <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">str</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (string)</span><span data-if="dotnet" style="display:none"> (<i>string</i>)</span><span data-if="cpp" style="display:none"> (<i>HString</i>)</span><span data-if="c" style="display:none"> (<i>char*</i>)</span></span>
</div>
<p class="pardesc">Name of the queried result parameter.</p>
<p class="pardesc"><span class="parcat">Default:
      </span>
    <span data-if="hdevelop" style="display:inline">'score'</span>
    <span data-if="c" style="display:none">"score"</span>
    <span data-if="cpp" style="display:none">"score"</span>
    <span data-if="com" style="display:none">"score"</span>
    <span data-if="dotnet" style="display:none">"score"</span>
    <span data-if="python" style="display:none">"score"</span>
</p>
<p class="pardesc"><span class="parcat">List of values:
      </span><span data-if="hdevelop" style="display:inline">'angle'</span><span data-if="c" style="display:none">"angle"</span><span data-if="cpp" style="display:none">"angle"</span><span data-if="com" style="display:none">"angle"</span><span data-if="dotnet" style="display:none">"angle"</span><span data-if="python" style="display:none">"angle"</span>, <span data-if="hdevelop" style="display:inline">'clutter_hom_mat_2d'</span><span data-if="c" style="display:none">"clutter_hom_mat_2d"</span><span data-if="cpp" style="display:none">"clutter_hom_mat_2d"</span><span data-if="com" style="display:none">"clutter_hom_mat_2d"</span><span data-if="dotnet" style="display:none">"clutter_hom_mat_2d"</span><span data-if="python" style="display:none">"clutter_hom_mat_2d"</span>, <span data-if="hdevelop" style="display:inline">'clutter_score'</span><span data-if="c" style="display:none">"clutter_score"</span><span data-if="cpp" style="display:none">"clutter_score"</span><span data-if="com" style="display:none">"clutter_score"</span><span data-if="dotnet" style="display:none">"clutter_score"</span><span data-if="python" style="display:none">"clutter_score"</span>, <span data-if="hdevelop" style="display:inline">'column'</span><span data-if="c" style="display:none">"column"</span><span data-if="cpp" style="display:none">"column"</span><span data-if="com" style="display:none">"column"</span><span data-if="dotnet" style="display:none">"column"</span><span data-if="python" style="display:none">"column"</span>, <span data-if="hdevelop" style="display:inline">'hom_mat_2d'</span><span data-if="c" style="display:none">"hom_mat_2d"</span><span data-if="cpp" style="display:none">"hom_mat_2d"</span><span data-if="com" style="display:none">"hom_mat_2d"</span><span data-if="dotnet" style="display:none">"hom_mat_2d"</span><span data-if="python" style="display:none">"hom_mat_2d"</span>, <span data-if="hdevelop" style="display:inline">'match'</span><span data-if="c" style="display:none">"match"</span><span data-if="cpp" style="display:none">"match"</span><span data-if="com" style="display:none">"match"</span><span data-if="dotnet" style="display:none">"match"</span><span data-if="python" style="display:none">"match"</span>, <span data-if="hdevelop" style="display:inline">'model_identifier'</span><span data-if="c" style="display:none">"model_identifier"</span><span data-if="cpp" style="display:none">"model_identifier"</span><span data-if="com" style="display:none">"model_identifier"</span><span data-if="dotnet" style="display:none">"model_identifier"</span><span data-if="python" style="display:none">"model_identifier"</span>, <span data-if="hdevelop" style="display:inline">'num_match_result'</span><span data-if="c" style="display:none">"num_match_result"</span><span data-if="cpp" style="display:none">"num_match_result"</span><span data-if="com" style="display:none">"num_match_result"</span><span data-if="dotnet" style="display:none">"num_match_result"</span><span data-if="python" style="display:none">"num_match_result"</span>, <span data-if="hdevelop" style="display:inline">'row'</span><span data-if="c" style="display:none">"row"</span><span data-if="cpp" style="display:none">"row"</span><span data-if="com" style="display:none">"row"</span><span data-if="dotnet" style="display:none">"row"</span><span data-if="python" style="display:none">"row"</span>, <span data-if="hdevelop" style="display:inline">'scale_column'</span><span data-if="c" style="display:none">"scale_column"</span><span data-if="cpp" style="display:none">"scale_column"</span><span data-if="com" style="display:none">"scale_column"</span><span data-if="dotnet" style="display:none">"scale_column"</span><span data-if="python" style="display:none">"scale_column"</span>, <span data-if="hdevelop" style="display:inline">'scale_row'</span><span data-if="c" style="display:none">"scale_row"</span><span data-if="cpp" style="display:none">"scale_row"</span><span data-if="com" style="display:none">"scale_row"</span><span data-if="dotnet" style="display:none">"scale_row"</span><span data-if="python" style="display:none">"scale_row"</span>, <span data-if="hdevelop" style="display:inline">'score'</span><span data-if="c" style="display:none">"score"</span><span data-if="cpp" style="display:none">"score"</span><span data-if="com" style="display:none">"score"</span><span data-if="dotnet" style="display:none">"score"</span><span data-if="python" style="display:none">"score"</span>, <span data-if="hdevelop" style="display:inline">'time_measurement'</span><span data-if="c" style="display:none">"time_measurement"</span><span data-if="cpp" style="display:none">"time_measurement"</span><span data-if="com" style="display:none">"time_measurement"</span><span data-if="dotnet" style="display:none">"time_measurement"</span><span data-if="python" style="display:none">"time_measurement"</span></p>
</div>
  <div class="par">
<div class="parhead">
<span id="GenParamValue" class="parname"><b><code><span data-if="hdevelop" style="display:inline">GenParamValue</span><span data-if="c" style="display:none">GenParamValue</span><span data-if="cpp" style="display:none">GenParamValue</span><span data-if="com" style="display:none">GenParamValue</span><span data-if="dotnet" style="display:none">genParamValue</span><span data-if="python" style="display:none">gen_param_value</span></code></b> (output_control)  </span><span>attribute.value-array <code>→</code> <span data-if="dotnet" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="python" style="display:none">Sequence[Union[int, float, str]]</span><span data-if="cpp" style="display:none"><a href="HTuple.html">HTuple</a></span><span data-if="c" style="display:none">Htuple</span><span data-if="hdevelop" style="display:inline"> (real / </span><span data-if="hdevelop" style="display:inline">integer / </span><span data-if="hdevelop" style="display:inline">string)</span><span data-if="dotnet" style="display:none"> (<i>double</i> / </span><span data-if="dotnet" style="display:none">int / </span><span data-if="dotnet" style="display:none">long / </span><span data-if="dotnet" style="display:none">string)</span><span data-if="cpp" style="display:none"> (<i>double</i> / </span><span data-if="cpp" style="display:none">Hlong / </span><span data-if="cpp" style="display:none">HString)</span><span data-if="c" style="display:none"> (<i>double</i> / </span><span data-if="c" style="display:none">Hlong / </span><span data-if="c" style="display:none">char*)</span></span>
</div>
<p class="pardesc">Value of the queried result parameter.</p>
</div>
<h2 id="sec_result">结果</h2>
<p>如果参数均有效，算子
<code><span data-if="hdevelop" style="display:inline">get_generic_shape_model_result</span><span data-if="c" style="display:none">get_generic_shape_model_result</span><span data-if="cpp" style="display:none">GetGenericShapeModelResult</span><span data-if="com" style="display:none">GetGenericShapeModelResult</span><span data-if="dotnet" style="display:none">GetGenericShapeModelResult</span><span data-if="python" style="display:none">get_generic_shape_model_result</span></code> 返回值 <TT>2</TT> (
      <TT>H_MSG_TRUE</TT>)
    .
If necessary an exception is raised.</p>
<h2 id="sec_predecessors">可能的前置算子</h2>
<p>
<code><a href="find_generic_shape_model.html"><span data-if="hdevelop" style="display:inline">find_generic_shape_model</span><span data-if="c" style="display:none">find_generic_shape_model</span><span data-if="cpp" style="display:none">FindGenericShapeModel</span><span data-if="com" style="display:none">FindGenericShapeModel</span><span data-if="dotnet" style="display:none">FindGenericShapeModel</span><span data-if="python" style="display:none">find_generic_shape_model</span></a></code>
</p>
<h2 id="sec_module">模块</h2>
<p>
Matching</p>
<!--OP_REF_FOOTER_START-->
<hr>
<div class="indexlink">
<a href="index_classes.html"><span data-if="dotnet" style="display:none;">类别</span><span data-if="cpp" style="display:none;">类别</span></a><span data-if="dotnet" style="display:none;"> | </span><span data-if="cpp" style="display:none;"> | </span><a href="index_by_name.html">算子列表</a>
</div>
<div class="footer">
<div class="copyright">HALCON算子参考手册 Copyright © 2015-2023 51Halcon</div>
</div>
</div>
</body>
</html>
